package cn.imnaer.service.rest.tribal;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

/**
 * 始于推荐RESTFul Interfaces
 */
@Path(value = "/tribal")
public interface TribalCircleComponentRestApi {
    @GET
    @Produces("application/json;charset=UTF-8")
    @Path("/list/{userId}")
    public String tribalList(@PathParam("userId") String userId);

    @POST
    @Path("/tribalCircle/query")
    @Produces("application/json;charset=UTF-8")
    public String queryTribalCircle(String json);

    @GET
    @Produces("application/json;charset=UTF-8")
    @Path("/city/all")
    public String tribalCityOfSumCountInfo();

    @POST
    @Path("/tribalUserInfo/save")
    @Produces("application/json;charset=UTF-8")
    public String saveTribalUserInfo(String json);

    @POST
    @Path("/updateSupport")
    @Produces("application/json;charset=UTF-8")
    public String updateSupport(String json);
}
